Renaming A Bunch Of Files At The Same Time

Renaming A Bunch Of Files At The Same Time

0 0 11 mesi fa
I had to strip off the first part of a bunch of file names. You can do this inside of Windows Powershell, using this simple script:
get-childitem *.dat | rename-item -newname { [string]($._name).substring(9) }

The file extension and the numeric value are variable based on your needs.

WARNING: THIS WILL AFFECT EVERY FILE IN YOUR CHOSEN DIRECTORY, so move all the files that you need to rename to their own folder. And, it can't be redone, so make a backup beforehand, and make sure ... Maggiori informazioni

Seguici su Facebook

iAB member
Copyright 2019 - Spreaker Inc. a Voxnest Company - Crea un podcast - New York, NY
Aiuto